API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsAstraeus
Graphics
Utils
EnvironmentRenderer.h
1
// EnvironmentRenderer.h
3
//
5
6
namespace
nkAstraeus
7
{
11
class
EnvironmentRenderer
final
12
{
13
public :
14
15
// Rendering
26
static
void
renderCubemap
(
nkGraphics::Texture
* output,
nkGraphics::Shader
* shader,
unsigned
int
targetDimensions,
nkGraphics::FORMAT
targetFormat) ;
37
static
void
cubemapToSphericalMap
(
nkGraphics::Texture
* output,
nkGraphics::Texture
* input,
unsigned
int
targetWidth,
unsigned
int
targetHeight) ;
38
} ;
39
}
nkGraphics::Texture
A texture used for rendering, hosted on GPU.
Definition:
Texture.h:35
nkGraphics::Shader
A shader class, feeding data to a Program.
Definition:
Shader.h:14
nkAstraeus::EnvironmentRenderer::renderCubemap
static void renderCubemap(nkGraphics::Texture *output, nkGraphics::Shader *shader, unsigned int targetDimensions, nkGraphics::FORMAT targetFormat)
nkAstraeus::EnvironmentRenderer::cubemapToSphericalMap
static void cubemapToSphericalMap(nkGraphics::Texture *output, nkGraphics::Texture *input, unsigned int targetWidth, unsigned int targetHeight)
nkAstraeus
Encompasses all API of component NilkinsAstraeus.
Definition:
Engine.h:7
nkAstraeus::EnvironmentRenderer
Utility class helping with environment rendering such as cube maps or spherical maps.
Definition:
EnvironmentRenderer.h:12
nkGraphics::FORMAT
FORMAT
Available formats for resources.
Definition:
DxDefinesWrapper.h:86
Generated by
Doxygen
1.8.18